package org.hgg.workflow.core;

/**
 * @author Jarvis
 * @date 2023/12/28 0:31
 */
public interface ExecutorState<T,R> {
    void markProcessingDone(Node<T, R> node);

    boolean isReady(Node<T, R> node);

    void markProcessingFailed(Node<T, R> node,ExecutionResult<T, R> result);
}
